package com.wxx.design.bridge;

/**
 * @author Jetwang
 * @version 1.0
 * @date 2022/4/23 21:06
 */
public class ABCBank extends Bank {

    public ABCBank(Account account) {
        super(account);
    }

    @Override
    Account openAccount() {
        System.out.println("打开中国农业银行账号...");
        account.openAccount();
        return account;
    }
}
